
<div class="layui-form-item">
	<label class="layui-form-label">商品分类</label>
	<div class="layui-input-block">
		<input type="text" name="title" autocomplete="off" class="layui-input" value="<#list parentList as parent><#if parent_index != 0>&nbsp;&gt;&nbsp;</#if>${parent.name}</#list>" disabled="disabled" >
		<input type="hidden" name="cat_id" value="${catid}" /> 
		<input type="hidden" name="type_id" value="${typeid!''}" />
	</div>
</div>

<div class="layui-form-item">
	<label class="layui-form-label">商品名称</label>
	<div class="layui-input-block">
		<input type="text" name="name" lay-verify="required" autocomplete="off" placeholder="请输入商品名称" class="layui-input"  >
	</div>
</div>

<div class="layui-form-item">
	<label class="layui-form-label">商品编号</label>
	<div class="layui-input-block">
		<input type="text" name="sn" lay-verify="required"  autocomplete="off" placeholder="请输入商品编号" class="layui-input"  >
	</div>
</div>

<div class="layui-form-item">
	<label class="layui-form-label">是否上架</label>
	<div class="layui-input-block">
		<input type="radio" name="market_enable" value="1" title="是" checked>
		<input type="radio" name="market_enable" value="0" title="否" >
	</div>
</div>

<div class="layui-form-item">
	<label class="layui-form-label">市场价格</label>
	<div class="layui-input-block">
		<input type="text" name="mktprice" lay-verify="number" maxlength="9" autocomplete="off" placeholder="请输入市场价格" class="layui-input" >
		<input type="hidden" name="point" value="0" />
	</div>
</div>

<div class="layui-form-item">
	<label class="layui-form-label">详情描述</label>
	<div class="layui-input-block">
		<script id="editor" name="intro" type="text/plain" style="height: 200px; width: 99%;"></script>
	</div>
</div>

<script>
$(function(){
	var ue = UE.getEditor('editor', {
		autoHeightEnabled : false,
		zIndex : 0,
	});
})
</script>
